home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-12
/
pvirus10.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-09-02
|
3KB
|
71 lines
@ECHO OFF
CLS
ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
ECHO │ PROVIRUS V1.0 INSTALLATION PROGRAM │
ECHO │ │
ECHO │ Copyright (C) 1991 by Gateway Software, Inc. │
ECHO └─────────────────────────────────────────────────────────────────────────────┘
ECHO
IF "%1" == "" GOTO INSTC
IF NOT EXIST PROVIR10.EXE GOTO ERROR1
ECHO
IF EXIST %1\PRODIGY\PRODIGY.EXE GOTO INSTFILE
IF EXIST %1\PRODIGY\RS.EXE GOTO INSTFILE
ECHO
ECHO ╔═════════════════════════════════════════════════════════════════════════════╗
ECHO ║ INSTALLATION ERROR!!! ║
ECHO ║ ║
ECHO ║ The file %1\PRODIGY\RS.EXE or %1\PRODIGY\PRODIGY.EXE doesn't exist. ║
ECHO ║ ║
ECHO ║ Do you have the PRODIGY software installed? ║
ECHO ║ ║
ECHO ╚═════════════════════════════════════════════════════════════════════════════╝
ECHO
GOTO END
:INSTFILE
ECHO -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
ECHO
ECHO Press [Ctrl]-[C] to abort this procedure.
ECHO
ECHO -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
ECHO
PAUSE
ECHO
ECHO
ECHO Extracting PROVIRUS's files from PROVIR10.EXE ...
REM -o switche is used to allow overwrite file
PROVIR10 -o %1\PRODIGY
%1
CD \PRODIGY
PAUSE
PROVIRUS
GOTO INSTEND
:INSTC
ECHO
ECHO This installation process runs the self-extracting file PROVIR10.EXE
ECHO and copies files into your Prodigy directory.
ECHO
ECHO For a correct installation, you must specify the target hard drive.
ECHO From DOS, type INSTALL followed by the drive letter of your chosen
ECHO hard drive (DO NOT FORGET THE COLON CHARACTER).
ECHO
ECHO Example: to install on Drive C:, type INSTALL C: and hit ENTER key.
ECHO
GOTO END
:ERROR1
ECHO
ECHO FATAL ERROR:
ECHO the file PROVIR10.EXE is missing, installation is impossible to do!!!
ECHO
ECHO If you install from drive A:, type A: and hit the [Enter] key
ECHO then type INSTALL C: and hit [Enter] key
ECHO
GOTO END
:INSTEND
:END
ECHO